package com.ken.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ken.dto.OrdersSubmitDTO;
import com.ken.entity.Orders;
import com.ken.vo.OrderSubmitVO;
import com.ken.vo.OrderVO;

public interface OrderService extends IService<Orders> {
    /**
     * 支付成功，修改订单状态
     * @param outTradeNo
     */
    void paySuccess(String outTradeNo);
    OrderSubmitVO submitOrder(OrdersSubmitDTO ordersSubmitDTO);

    void repetitionOrderById(Long id);

    void cancelOrderById(Long id);

    OrderVO findById(Long id);

    void reminderById(Long id);
}
